package com.guide.persistence;

import com.guide.domain.Travelorg;
import com.guide.domain.TravelorgQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TravelorgMapper {
    int countByExample(TravelorgQuery example);
    
    int counttByExampleWithBLOBsForIndex(@Param("city") String city);
    
    int deleteByExample(TravelorgQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(Travelorg record);

    int insertSelective(Travelorg record);

    List<Travelorg> selectByExampleWithBLOBs(TravelorgQuery example);

    List<Travelorg> selectByExample(TravelorgQuery example);
    
    List<Travelorg> selectByExampleWithBLOBsForIndex( @Param("city") String city,@Param("pageIndex") Integer pageIndex,@Param("limit") Integer limit);

    Travelorg selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Travelorg record, @Param("example") TravelorgQuery example);

    int updateByExampleWithBLOBs(@Param("record") Travelorg record, @Param("example") TravelorgQuery example);

    int updateByExample(@Param("record") Travelorg record, @Param("example") TravelorgQuery example);

    int updateByPrimaryKeySelective(Travelorg record);

    int updateByPrimaryKeyWithBLOBs(Travelorg record);

    int updateByPrimaryKey(Travelorg record);
}